package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfCourseGiftDao;
import com.wfcm.entity.WfCourseGiftEntity;
import com.wfcm.service.WfCourseGiftService;



@Service("wfCourseGiftService")
public class WfCourseGiftServiceImpl implements WfCourseGiftService {
	@Autowired
	private WfCourseGiftDao wfCourseGiftDao;
	
	@Override
	public WfCourseGiftEntity queryObject(Integer id){
		return wfCourseGiftDao.queryObject(id);
	}
	
	@Override
	public List<WfCourseGiftEntity> queryList(Map<String, Object> map){
		return wfCourseGiftDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfCourseGiftDao.queryTotal(map);
	}
	
	@Override
	public void save(WfCourseGiftEntity wfCourseGift){
		wfCourseGiftDao.save(wfCourseGift);
	}
	
	@Override
	public void update(WfCourseGiftEntity wfCourseGift){
		wfCourseGiftDao.update(wfCourseGift);
	}
	
	@Override
	public void delete(Integer id){
		wfCourseGiftDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfCourseGiftDao.deleteBatch(ids);
	}
	
}
